package com.blue.eagle.controller;

import java.util.Date;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.blue.eagle.formbean.LoginForm;

/**
 * 
 *
 */
@Controller
public class InitializeController {
	
	@RequestMapping("/")
	public ModelAndView home(@ModelAttribute("loginForm") LoginForm loginForm) {
		ModelAndView model = new ModelAndView("login");
		model.addObject("date", new Date());
		return model;
	}
	
	
}
